hvm stdvga: Do not emulate PIO reads inside Xen. They should be rare
authorKeir Fraser <keir.fraser@citrix.com>
Sat, 8 Dec 2007 16:57:13 +0000 (16:57 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Sat, 8 Dec 2007 16:57:13 +0000 (16:57 +0000)
commit16c2e41e1a9e11deb787c20c31333667a9da0d02
tree48384f9ab1aff79d6db62c91278926ae1d213612
parent8256ad693d45c51133720f17f17f3ca58ffc32fb
hvm stdvga: Do not emulate PIO reads inside Xen. They should be rare
(PIO write emulation is really for book-keeping to detect when we
enter/leave stdvga mode, and to work out what to do with mmio
accesses), and we may do the wrong thing depending on emulated SVGA
hardware and current mode.

This simplifies the code and means that 'stdvga=1' once again works
properly and causes the stdvga bios to be loaded by hvmloader.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/hvm/save.c
xen/arch/x86/hvm/stdvga.c
xen/include/asm-x86/hvm/io.h